package zhongbo.java.air.dictionary.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.*;
import zhongbo.java.air.dictionary.model.AirPort;
import zhongbo.java.air.dictionary.model.enums.Change;

@Mapper
public interface AirPortMapper extends BaseMapper<AirPort> {


 @Update("update air_airport set  status=#{status} where id=#{id}")
    void updateStatus(@Param("id")String id, @Param("status")Change status);

}
